package spyware;

import client.SysSpyClient;

public class ServiceInvoker {
	private SysSpyClient spy;
	
    public boolean connect(String IP,int port){
    	spy = new SysSpyClient(port,IP);
    	if( spy.connectToServer() ) return true;
    	return false;
    }
   
    public boolean ping(){
    	return spy.ping();
    }
    
    public void getProcesses(){
    	spy.getProcceses();
    }
    
    public void getScreenshot(){
    	spy.getScreenShot();
    }
    
    public boolean exit(){
    	return spy.exit();
    }
	
}
